module.exports = {
    project_dir: __dirname,
    token_secret:"wind",
    host: 'www.51780.com',
    mongodbUrl: process.env.mongodbUrl || "mongodb://localhost:27017/dashan",
    // mysql:{
    //     host: process.env.mysqlHost || 'localhost',    //数据库地址
    //     user: process.env.mysqlUser || 'fyf',               //账号
    //     password: process.env.mysqlPassword || '123456',    //密码
    //     database: process.env.mysqldatabase || 'accost',//数据库名称
    //     port: process.env.mysqlPort || 3306                  //数据库端口
    // },
    mysql:{
        host: process.env.mysqlHost || 'LAMMysql',    //数据库地址
        // host: process.env.mysqlHost || '47.52.173.171',    //数据库地址
        // host: process.env.mysqlHost || 'localhost',    //数据库地址
        user: process.env.mysqlUser || 'root',               //账号
        password: process.env.mysqlPassword || 'root',    //密码
        database: process.env.mysqldatabase || 'accost',//数据库名称
        port: process.env.mysqlPort || 3306                  //数据库端口
    },
    // mysql:{
    //     host: process.env.mysqlHost || 'localhost',    //数据库地址
    //     user: process.env.mysqlUser || 'root',               //账号
    //     password: process.env.mysqlPassword || 'L5634783',    //密码
    //     database: process.env.mysqldatabase || 'accost',//数据库名称
    //     port: process.env.mysqlPort || 3306                  //数据库端口
    // },
    // weChat:{
    //     AppID: process.env.AppID || "wxecae704ec4ae66da",
    //     AppSecret: process.env.AppSecret || "22c8005a70f54cbc08759aaf90d9f22a"
    // },
    // weChatPay: {
    //     MerchantNo:process.env.MerchantNo ||  1376928902,
    //     PaySecret: process.env.PaySecret || 'JSU392KLSLZLS023DPSISDGH2821IKDK',
    //     NotifyUrl: process.env.NotifyUrl || 'http://www.51780.com/recharge/rechargeNotify'
    // },
    weChat:{
        AppID: process.env.AppID || "wxecae704ec4ae66da",
        AppSecret: process.env.AppSecret || "22c8005a70f54cbc08759aaf90d9f22a"
    },
    weChatPay: {
        AppId:"wxecae704ec4ae66da",
        MerchantNo:process.env.MerchantNo ||  1456143602,
        PaySecret: process.env.PaySecret || 'o1eyvcpjeezc2aqyf0sb545o2l8mrpjf',
        NotifyUrl: process.env.NotifyUrl || 'http://www.51780.com/recharge/rechargeNotify'
    },
    questionArr:[1, 2, 7, 8, 9, 10, 12, 13, 14, 15, 16, 17, 18, 26, 28, 31, 32, 33, 34, 35, 39, 41, 42, 49, 52, 53, 54, 55, 56, 58, 59, 61, 62, 64, 67, 68, 69, 70, 71, 82, 84, 85, 88, 89, 90, 91, 99, 102, 104, 105, 108, 109, 112, 113, 115, 117, 119, 120, 123, 124, 125, 127, 135, 136, 139, 140, 142, 145],
    weChatMenu:{
        'button': [
            {
                name: '聊聊',
                type: 'view',
                url: 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxecae704ec4ae66da&redirect_uri=http%3A%2F%2Fwww.51780.com%2Fwebroot%2Fmessage_friends.html&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect'
            },
            {
                name: '匹配',
                sub_button: [
                    {
                        type: 'view',
                        name: '指定ID',
                        // url: 'http://www.jot8.com/webroot/marry.html?type=specifyID'
                        url: 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxecae704ec4ae66da&redirect_uri=http%3A%2F%2Fwww.51780.com%2Fwebroot%2Fmarry.html?type=specifyID&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect'
                    },
                    {
                        type: 'view',
                        name: '指定城市',
                        // url: 'http://www.jot8.com/webroot/marry.html?type=specifyCity'
                        url: 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxecae704ec4ae66da&redirect_uri=http%3A%2F%2Fwww.51780.com%2Fwebroot%2Fmarry.html?type=specifyCity&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect'
                    },
                    {
                        type: 'view',
                        name: '全网匹配',
                        // url: 'http://www.jot8.com/webroot/marry.html?type=country'
                        url: 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxecae704ec4ae66da&redirect_uri=http%3A%2F%2Fwww.51780.com%2Fwebroot%2Fmarry.html?type=country&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect'
                    },
                    {
                        type: 'view',
                        name: '同城匹配',
                        // url: 'http://www.jot8.com/webroot/marry.html?type=city'
                        url: 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxecae704ec4ae66da&redirect_uri=http%3A%2F%2Fwww.51780.com%2Fwebroot%2Fmarry.html?type=city&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect'
                    },
                    {
                        type: 'view',
                        name: '好友列表',
                        // url: 'http://www.jot8.com/webroot/friends.html'
                        url: 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxecae704ec4ae66da&redirect_uri=http%3A%2F%2Fwww.51780.com%2Fwebroot%2Ffriends.html&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect'
                    }
                ]
            },
            {
                name: '我的',
                sub_button: [
                    {
                        type: 'view',
                        name: '是男人就下一万层',
                        // url: 'http://www.jot8.com/webroot/message_board.html'
                        url: 'http://www.beetobees.com/play/tpl_nanren/kfzL3fkW/'
                    },
                    {
                        type: 'view',
                        name: '成语达人',
                        // url: 'http://www.jot8.com/webroot/message_board.html'
                        url: 'http://www.beetobees.com/play/tpl_cydr/Apj0lIR4/'
                    },
                    {
                        type: 'view',
                        name: '天天消消乐',
                        // url: 'http://www.jot8.com/webroot/message_board.html'
                        url: 'http://www.beetobees.com/play/tpl_xiaoxiaole/IhlMIUNg/'
                    },
                    {
                        type: 'view',
                        name: '个人资料',
                        // url: 'http://www.jot8.com/webroot/userInfo.html'
                        url: 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxecae704ec4ae66da&redirect_uri=http%3A%2F%2Fwww.51780.com%2Fwebroot%2FuserInfo.html&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect'
                    },
                    {
                        type: 'view',
                        name: '留言板',
                        // url: 'http://www.jot8.com/webroot/message_board.html'
                        url: 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxecae704ec4ae66da&redirect_uri=http%3A%2F%2Fwww.51780.com%2Fwebroot%2Fmessage_board.html&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect'
                    },
                    // {
                    //     type: 'view',
                    //     name: '使用权限',
                    //     // url: 'http://www.jot8.com/webroot/power.html'
                    //     url: 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxecae704ec4ae66da&redirect_uri=http%3A%2F%2Fwww.51780.com%2Fwebroot%2Fpower.html&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect'
                    // }
                    // {
                    //     type: 'view',
                    //     name: '分享海报',
                    //     // url: 'http://www.jot8.com/webroot/message_board.html'
                    //     url: 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxecae704ec4ae66da&redirect_uri=http%3A%2F%2Fwww.51780.com%2Fwebroot%2Fmessage_board.html&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect'
                    // },
                    // {
                    //     type: 'view',
                    //     name: '定制偶像',
                    //     // url: 'http://www.jot8.com/webroot/message_board.html'
                    //     url: 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxecae704ec4ae66da&redirect_uri=http%3A%2F%2Fwww.51780.com%2Fwebroot%2Fmessage_board.html&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect'
                    // },
                    // {
                    //     type: 'click',
                    //     name: '每日打卡',
                    //     key: 'V1001_PUNCH_CARD'
                    // },

                ]
            }
        ]
    }
};
